package lx.utils;

import com.lx.utils.R;

import android.app.Activity;
import android.os.Bundle;
import android.widget.LinearLayout;

// for test
public class ActivityMain extends Activity {

    LinearLayout mButtonContainer;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        this.setContentView(R.layout.activity_main);
        this.mButtonContainer = (LinearLayout) this
                .findViewById(R.id.main_container);

        for (DemoButtonData data : DemoActivityConfig.BUTTON_DATA_LIST) {
            DemoButton button = new DemoButton(this, data);
            DemoButton.addToLinearLayout(this.mButtonContainer, button);
        }

        miscTest();
    }

    private void miscTest() {

    }
}
